/*
 * XML Type:  BillTableStructureRequest
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.BillTableStructureRequest
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML BillTableStructureRequest(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class BillTableStructureRequestImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.ofx.types.x2003.x04.BillTableStructureRequest
{
    
    public BillTableStructureRequestImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName BILLID$0 = 
        new javax.xml.namespace.QName("", "BILLID");
    private static final javax.xml.namespace.QName BILLDETAILTABLETYPE$2 = 
        new javax.xml.namespace.QName("", "BILLDETAILTABLETYPE");
    
    
    /**
     * Gets the "BILLID" element
     */
    public java.lang.String getBILLID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BILLID$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "BILLID" element
     */
    public net.ofx.types.x2003.x04.IdType xgetBILLID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.IdType target = null;
            target = (net.ofx.types.x2003.x04.IdType)get_store().find_element_user(BILLID$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "BILLID" element
     */
    public void setBILLID(java.lang.String billid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BILLID$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BILLID$0);
            }
            target.setStringValue(billid);
        }
    }
    
    /**
     * Sets (as xml) the "BILLID" element
     */
    public void xsetBILLID(net.ofx.types.x2003.x04.IdType billid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.IdType target = null;
            target = (net.ofx.types.x2003.x04.IdType)get_store().find_element_user(BILLID$0, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.IdType)get_store().add_element_user(BILLID$0);
            }
            target.set(billid);
        }
    }
    
    /**
     * Gets the "BILLDETAILTABLETYPE" element
     */
    public java.lang.String getBILLDETAILTABLETYPE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BILLDETAILTABLETYPE$2, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "BILLDETAILTABLETYPE" element
     */
    public net.ofx.types.x2003.x04.GenericNameType xgetBILLDETAILTABLETYPE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(BILLDETAILTABLETYPE$2, 0);
            return target;
        }
    }
    
    /**
     * Sets the "BILLDETAILTABLETYPE" element
     */
    public void setBILLDETAILTABLETYPE(java.lang.String billdetailtabletype)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BILLDETAILTABLETYPE$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BILLDETAILTABLETYPE$2);
            }
            target.setStringValue(billdetailtabletype);
        }
    }
    
    /**
     * Sets (as xml) the "BILLDETAILTABLETYPE" element
     */
    public void xsetBILLDETAILTABLETYPE(net.ofx.types.x2003.x04.GenericNameType billdetailtabletype)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(BILLDETAILTABLETYPE$2, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.GenericNameType)get_store().add_element_user(BILLDETAILTABLETYPE$2);
            }
            target.set(billdetailtabletype);
        }
    }
}
